
<!--<pro-header [title]="'查询表格'"></pro-header>-->
<div>
    <!--<a style=" color:red" (click)="getData()">-->
        <!--<i class="anticon anticon-plus"></i><span>保存</span>-->
    <!--</a>-->
    <!--<a style=" color:red;margin-left: 100px" (click)="addEl('-1')">-->
        <!--<i class="anticon anticon-plus"></i><span>生成节点</span>-->
    <!--</a>-->

    <!--<a style=" color:red;margin-left: 100px" (click)="addGrouping('-1')">-->
        <!--<i class="anticon anticon-plus"></i><span>生成开始分组节点</span>-->
    <!--</a>-->
    <div style="width: 100%;text-align: left;padding:10px 0;position:relative">
        <div (click)="preview()" style="position:absolute;right: 0;top: 16px;cursor: pointer">
            <i class="anticon anticon-scan" style="color:#26e8dc;font-size:16px;"></i> 全局预览
        </div>
        <div *ngFor="let l of list; let i = index" style="display: inline-block">
            <div *ngIf="l.type!='group'&&l.type!='end'&&l.type != 'grouping'" style="display: inline-block;">
                <button nz-button (click)="editNode(l,$event,'-1')" style="height: 34px;">{{l.text || '开始'}}</button>
            </div>
            <div *ngIf="l.type == 'grouping'" class="grouping" [ngClass]="{'haveChild': list?.length > 2}"
                 style="display: inline-block" >
                <button nz-button (click)="editNode(l,$event,'-1')" style="height: 34px;">{{l.text || '分组'}}</button>
            </div>
            <div *ngIf="l.type ==='group'" style="display: inline-block">
                <button nz-button (dblclick)="editNode(l)" (click)="switchGroup(l,i)" style="height: 34px;" [class]="(i+'')==groupIndex ?'ant-btn group_check_btn':'ant-btn'">{{l.props.group_text || '组名'}}</button>
            </div>
            <div  *ngIf="i==list.length-1" style="display: inline-block">
                <button nz-button (click)="addGroup('-1', i)" style="min-width:55px;height: 34px;"><i class="anticon anticon-plus"></i></button>
            </div>
        </div>
    </div>
    <div class="lcbz">
        <ul class="left_com">
            <li style="height: 44px;line-height: 44px;border-bottom:1px solid #e8e8e8;">
                <i class="anticon anticon-appstore" style="color:#c00000"></i> 基本流程形状
            </li>
            <li>
                <div *ngFor="let l of list; let i = index" >
                    <div *ngIf="l.type ==='group' && (i+'')==groupIndex" style="border-bottom:1px solid #e8e8e8;">
                        <div [ngClass]="{'noLine': j === 0}" *ngFor="let n of l.nodes;let j = index" >
                            <button nz-button class="cj" *ngIf=" j === (l.nodes.length -1)" (click)="autoAdd(l,i,j,$event)">场景</button>
                        </div>
                    </div>
                </div>
            </li>
            <!--<li>-->
                <!--<button nz-button class="ljfz" style="background:url('../assets/img/ljfz.png') no-repeat 100% 100%;background-size: 100%;">逻辑分支</button>-->
            <!--</li>-->
            <!--<li>-->
                <!--<button nz-button class="sjhg"><span>事件回顾</span></button>-->
            <!--</li>-->
            <!--<li>-->
                <!--<button nz-button class="kjd">空节点</button>-->
            <!--</li>-->
        </ul>
        <div class="right_com">
            <img src="../../assets/img/sglcsj.png" width="100%" height="100%" alt="">
            <div class="scroll">
                <div *ngFor="let l of list; let i = index" class="node_group">
                    <div *ngIf="l.type ==='group' && (i+'')==groupIndex" >
                        <div class="group-container"  >
                            <div class="group_node" [ngClass]="{'noLine': j === 0}" *ngFor="let n of l.nodes;let j = index" >
                                <button (click)="editNode(n,$event,l.id)" class="cj">{{j+1}}.{{n.text}}</button>
                                <div class="bj">
                                    <a (click)="editNode(n,$event,l.id)"><i class="anticon anticon-edit"></i></a>
                                    <a (click)="deleteModel(n, l.id)" style="color:#c00"><i class="anticon anticon-close"></i></a>
                                </div>
                                <!--<a class="add-node" *ngIf=" j === (l.nodes.length -1)" (click)="autoAdd(l,i,j,$event)">-->
                                <!--<i class="anticon anticon-plus"></i>-->
                                <!--</a>-->
                            </div>
                        </div>

                    </div>
                </div>
            </div>


        </div>
    </div>
    <form class="process-form" nz-form >
       <ng-container>

        </ng-container>

        <!--<div *ngFor="let l of list">-->
            <!--<button *ngIf="l.type!='group'&&l.type!='end'&&l.type != 'grouping'" (click)="editNode(l,$event,'-1')"-->
                    <!--style="width:100px;margin:20px;text-align: center;height:50px;line-height: 50px;border: 1px solid #000; position: relative">-->
                <!--{{l.text}}-->
            <!--</button>-->
            <!--<div *ngIf="l.type == 'grouping'" class="grouping" [ngClass]="{'haveChild': list?.length > 2}"-->
                    <!--style="width:100px;margin:20px;text-align: center;height:50px;line-height: 50px;border: 1px solid #000; position: relative">-->
                <!--分组-->
                <!--<div class="node-control">-->
                    <!--<a (click)="addGroup('-1')">分组</a>-->
                    <!--<a (click)="editNode(l,$event,'-1')">编辑</a>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->

        <!--<div class="process-group">-->
            <!--<div *ngFor="let l of list;let i = index" style="" [hidden]="l.type !=='group'">-->

                <!--<div class="group-container"  >-->
                    <!--<div>-->
                        <!--<a (click)="editNode(l)">{{l.props.group_text}}</a>-->
                        <!--&lt;!&ndash;<a style=" color:red;" (click)="addEl(l.id,$event)">&ndash;&gt;-->
                            <!--&lt;!&ndash;<i class="anticon anticon-plus"></i>&ndash;&gt;-->
                            <!--&lt;!&ndash;<span>生成节点</span>&ndash;&gt;-->
                        <!--&lt;!&ndash;</a>&ndash;&gt;-->
                        <!--&lt;!&ndash;<a style=" color:red;" (click)="copy(l.id,$event)">&ndash;&gt;-->
    <!--&lt;!&ndash;&ndash;&gt;-->
                            <!--&lt;!&ndash;<i class="anticon anticon-plus"></i><span>生成批量</span>&ndash;&gt;-->
                        <!--&lt;!&ndash;</a>&ndash;&gt;-->
                    <!--</div>-->
                    <!--<div class="group-node" [ngClass]="{'noLine': j === 0}" *ngFor="let n of l.nodes;let j = index">-->
                        <!--<button-->
                            <!--style="width:100px;text-align: center;height:50px;line-height: 50px;border: 1px solid #000;float: left"-->
                            <!--(click)="editNode(n,$event,l.id)">-->
                            <!--{{n.text}}-->
                        <!--</button>-->
                        <!--<a class="add-node" *ngIf=" j === (l.nodes.length -1)" (click)="autoAdd(l,i,j,$event)">-->
                            <!--+-->
                        <!--</a>-->
                        <!--<div class="node-control">-->
                            <!--<a (click)="editNode(n,$event,l.id)">编辑</a>-->
                            <!--<a (click)="deleteNodeSelf(n, l.id)">删除</a>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->

            <!--</div>-->
        <!--</div>-->
        <!--<div *ngFor="let l of list">-->
            <!--<button *ngIf="l.type=='end'" (click)="editNode(l)"-->
                    <!--style="width:100px;margin:20px;text-align: center;height:50px;line-height: 50px;border: 1px solid #000; position: relative">-->
                <!--{{l.text}}-->
            <!--</button>-->
        <!--</div>-->
    </form>
</div>
<nz-modal [nzWidth]='"900px"' [nzFooter]="'true'" [nzWrapClassName]="'vertical-center-modal'" [nzVisible]="modalVisible"
          [nzTitle]="'节点属性'" [nzOkText] = "'确认'" [nzCancelText] = "'取消'" [nzConfirmLoading]="loading" [nzContent]="modalContent"
          (nzOnCancel)="close()" (nzOnOk)="save()">
    <ng-template #modalContent>

        <div *ngIf="!insertFlag&&currNode">
            <form nz-form [formGroup]="validateForm">
                <!--<div nz-form-item nz-row>-->
                    <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                        <!--<label for="email" nz-form-item-required>id</label>-->
                    <!--</div>-->
                    <!--<div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >-->
                        <!--{{currNode.id}}-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div nz-form-item nz-row *ngIf="currNode.type!='group'">-->
                    <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                        <!--<label for="email" nz-form-item-required>分组id</label>-->
                    <!--</div>-->
                    <!--<div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >-->
                        <!--{{currNode.group_id}}-->
                    <!--</div>-->
                <!--</div>-->
                <div nz-form-item nz-row *ngIf="currNode.type!='group'">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" nz-form-item-required>当前节点名称</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-input formControlName="s1" [(ngModel)]="currNode.text" name="jm" [nzSize]="'large'"
                                  [nzPlaceHolder]="'请输入'"
                                  (ngModelChange)="nodeNameChange()"
                                  nzId="no"
                        ></nz-input>
                    </div>
                </div>
                <div nz-form-item nz-row *ngIf="!(currNode.type == 'grouping' || currNode.type == 'start' || currNode.type == 'group' )">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" nz-form-item-required>节点类型</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-select formControlName="s46" [(ngModel)]="currNode.type" name="status" nzId="status"
                                   [nzPlaceHolder]="'请选择'" [nzShowSearch]="true" [nzSize]="'large'" >
                            <nz-option *ngFor="let i of ntypes; let idx = index" [nzLabel]="i.text"
                                       [nzValue]="i.value"></nz-option>
                        </nz-select>
                    </div>
                </div>
                <div nz-form-item nz-row *ngIf="currNode.type!='grouping'&&currNode.type!='group' && currNode.type!='start'">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email">下一步节点名称</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-select
                            [nzMode]="'multiple'"
                            formControlName="s6"
                            [nzPlaceHolder]="'请选择节点'"
                            [(ngModel)]="currNode.node_id"
                            [nzNotFoundContent]="'无法找到'">
                            <nz-option
                                *ngFor="let option of nids; let i = index"
                                [nzLabel]="i + '.' + option.label"
                                [nzValue]="option.value"
                                [nzDisabled]="option.disabled">
                            </nz-option>
                        </nz-select>
                    </div>
                </div>

                <div *ngIf="currNode.type=='group'">
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>组名</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <nz-input formControlName="s3" [(ngModel)]="currNode.props.group_text" name="zm"
                                      [nzSize]="'large'"
                                      (ngModelChange) = "groupNameChange()"
                                      [nzPlaceHolder]="'请输入'"
                                      nzId="no"></nz-input>
                        </div>
                    </div>
                    <div nz-form-item nz-row>


                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>组图片</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <button nz-button class="file-upload mt-sm">
                                <input id="file1" type="file" (change)="fileChange($event)"/>
                                <i class="anticon anticon-upload"></i><span>选择</span>
                            </button>
                            <button nz-button [nzType]="'primary'" (click)="savePdf()" class="mr-sm">
                                <span>上传</span>
                            </button>
                        </div>
                    </div>
                    <div nz-form-item nz-row>

                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">

                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <img [src]='rightSrc || "../../assets/img/default-img.png"' style="width: 100px;height: 100px;">
                        </div>
                    </div>
                    <!--<div nz-form-item nz-row>-->
                        <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                            <!--<label for="email" nz-form-item-required>组类型</label>-->
                        <!--</div>-->
                        <!--<div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >-->
                            <!--<nz-select formControlName="s4" [(ngModel)]="currNode.props.group_type" name="status"-->
                                       <!--nzId="status"-->
                                       <!--[nzPlaceHolder]="'请选择'" [nzShowSearch]="true" [nzSize]="'large'">-->
                                <!--<nz-option *ngFor="let i of gtypes; let idx = index" [nzLabel]="i.text"-->
                                           <!--[nzValue]="i.value"></nz-option>-->
                            <!--</nz-select>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>分组人数</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <nz-input formControlName="s5"  formControlName="s5" [(ngModel)]="currNode.props.group_limit" name="gl"
                                      [nzType]="'number'"
                                      [nzSize]="'large'"
                                      [nzPlaceHolder]="'请输入'"
                                      nzId="no"></nz-input>
                        </div>
                    </div>

                </div>

                <div nz-form-item nz-row>
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" nz-form-item-required> 可见组</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-select
                            [nzMode]="'multiple'"
                            formControlName="s678"
                            [nzPlaceHolder]="'请选择组'"
                            [(ngModel)]="currNode.visibleGroup"
                            [nzNotFoundContent]="'无法找到'">
                            <nz-option
                                *ngFor="let option of gids"
                                [nzLabel]="option.label"
                                [nzValue]="option.value"
                                [nzDisabled]="option.disabled">
                            </nz-option>
                        </nz-select>
                    </div>
                </div>


                <!--<div *ngIf="currNode.type=='grouping'">-->
                    <!--<div nz-form-item nz-row>-->
                        <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                            <!--<label for="email" nz-form-item-required> 分组后节点</label>-->
                        <!--</div>-->
                        <!--<div nz-form-control nz-col [nzSm]="18" [nzXs]="24" >-->
                            <!--<nz-select-->
                                <!--[nzMode]="'multiple'"-->
                                <!--formControlName="s67"-->
                                <!--[nzPlaceHolder]="'请选择节点'"-->
                                <!--[(ngModel)]="currNode.node_id"-->
                                <!--[nzNotFoundContent]="'无法找到'">-->
                                <!--<nz-option-->
                                    <!--*ngFor="let option of nids"-->
                                    <!--[nzLabel]="option.label"-->
                                    <!--[nzValue]="option.value"-->
                                    <!--[nzDisabled]="option.disabled">-->
                                <!--</nz-option>-->
                            <!--</nz-select>-->
                        <!--</div>-->
                    <!--</div>-->


                <!--</div>-->
            </form>
            <!--<div>-->

                <!--<button nz-button (click)="left(currNode.group_id)" [nzType]="'primary'" [nzSize]="'large'">-->
                    <!--<i class="anticon anticon-left-circle-o"></i>-->
                <!--</button>-->
                <!--<button style="margin-left: 50px" nz-button (click)="right(currNode.group_id)" [nzType]="'primary'" [nzSize]="'large'">-->
                    <!--<i class="anticon anticon-right-circle-o"></i>-->
                <!--</button>-->
            <!--</div>-->
            <div style="text-align: center">
                <button nz-button (click)="gotoScenceEditor()" [nzType]="'primary'" [nzSize]="'large'"
                        *ngIf="currNode.type!='group'" style="display: inline-block;margin-right:15px;">
                    <i class="anticon anticon-plus"></i><span>编辑场景</span>
                </button>
                <button *ngIf="currNode.type!='start' && currNode.type!='grouping'" nz-button (click)="addBeforeNode()" [nzType]="'primary'" [nzSize]="'large'" style="display: inline-block;margin-right: 15px">
                    <i class="anticon anticon-plus"></i><span>在此节点前添加节点</span>
                </button>
                <button *ngIf="currNode.type!='start' && currNode.type!='grouping'" nz-button (click)="deleteNode()" [nzType]="'primary'" [nzSize]="'large'" style="display: inline-block">
                    <i class="anticon anticon-close"></i><span>删除</span>
                </button>
            </div>




        </div>
        <div *ngIf="insertFlag">
            <form nz-form [formGroup]="validateForm">
                <!--<div nz-form-item nz-row>-->
                    <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                        <!--<label for="email" nz-form-item-required>id</label>-->
                    <!--</div>-->
                    <!--<div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >-->
                        <!--{{insertModel.id}}-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div nz-form-item nz-row *ngIf="insertModel.type!='group'">-->
                    <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                        <!--<label for="email" nz-form-item-required>分组id</label>-->
                    <!--</div>-->
                    <!--<div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >-->
                        <!--{{insertModel.group_id}}-->
                    <!--</div>-->
                <!--</div>-->
                <div nz-form-item nz-row *ngIf="insertModel.type!='group'">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" nz-form-item-required>当前节点名称</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-input formControlName="s1" [(ngModel)]="insertModel.text" name="jm" [nzSize]="'large'"
                                  [nzPlaceHolder]="'请输入'"
                                  nzId="no"></nz-input>
                    </div>
                </div>
                <div nz-form-item nz-row *ngIf="insertModel.type!='group'">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" nz-form-item-required>节点类型</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                        <nz-select formControlName="s46" [(ngModel)]="insertModel.type" name="status" nzId="status"
                                   [nzPlaceHolder]="'请选择'" [nzShowSearch]="true" [nzSize]="'large'">
                            <nz-option *ngFor="let i of ntypes; let idx = index" [nzLabel]="i.text"
                                       [nzValue]="i.value"></nz-option>
                        </nz-select>
                    </div>
                </div>
                <div nz-form-item nz-row *ngIf="insertModel.type!='grouping'&&insertModel.type!='group'">
                    <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                        <label for="email" >下一步节点名称</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >

                        <nz-select
                            [nzMode]="'multiple'"
                            formControlName="s6"
                            [nzPlaceHolder]="'请选择节点'"
                            [(ngModel)]="insertModel.node_id"
                            [nzNotFoundContent]="'无法找到'">
                            <nz-option
                                *ngFor="let option of nids"
                                [nzLabel]="option.label"
                                [nzValue]="option.value"
                                [nzDisabled]="option.disabled">
                            </nz-option>
                        </nz-select>
                    </div>
                </div>

                <div *ngIf="insertModel.type=='group'">
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>组名</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <nz-input formControlName="s3" [(ngModel)]="insertModel.props.group_text" name="zm"
                                      [nzSize]="'large'"
                                      [nzPlaceHolder]="'请输入'"
                                      nzId="no"></nz-input>
                        </div>
                    </div>
                    <div nz-form-item nz-row>


                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>组图片</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <button nz-button class="file-upload mt-sm">
                                <input id="file2" type="file" (change)="fileChange($event)"/>
                                <i class="anticon anticon-upload"></i><span>选择</span>
                            </button>
                            <button nz-button [nzType]="'primary'" (click)="savePdf()" class="mr-sm">
                                <span>上传</span>
                            </button>
                        </div>
                    </div>
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">

                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <img [src]='rightSrc || "../../assets/img/default-img.png"' style="width: 100px;height: 100px;">
                        </div>
                    </div>
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>组类型</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <nz-select formControlName="s4" [(ngModel)]="insertModel.props.group_type" name="status"
                                       nzId="status"
                                       [nzPlaceHolder]="'请选择'" [nzShowSearch]="true" [nzSize]="'large'">
                                <nz-option *ngFor="let i of gtypes; let idx = index" [nzLabel]="i.text"
                                           [nzValue]="i.value"></nz-option>
                            </nz-select>
                        </div>
                    </div>
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required>分组人数</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="14" [nzXs]="24" >
                            <nz-input formControlName="s5" [(ngModel)]="insertModel.props.group_limit" name="gl"
                                      [nzType]="'number'"
                                      [nzSize]="'large'"
                                      [nzPlaceHolder]="'请输入'"
                                      nzId="no"></nz-input>
                        </div>
                    </div>

                </div>

                <!--<div nz-form-item nz-row>-->
                    <!--<div nz-form-label nz-col [nzSm]="6" [nzXs]="24">-->
                        <!--<label for="email" nz-form-item-required> 可见组</label>-->
                    <!--</div>-->
                    <!--<div nz-form-control nz-col [nzSm]="18" [nzXs]="24" >-->
                        <!--<nz-select-->
                            <!--[nzMode]="'multiple'"-->
                            <!--formControlName="s678"-->
                            <!--[nzPlaceHolder]="'请选择组'"-->
                            <!--[(ngModel)]="insertModel.visibleGroup"-->
                            <!--[nzNotFoundContent]="'无法找到'">-->
                            <!--<nz-option-->
                                <!--*ngFor="let option of gids"-->
                                <!--[nzLabel]="option.label"-->
                                <!--[nzValue]="option.value"-->
                                <!--[nzDisabled]="option.disabled">-->
                            <!--</nz-option>-->
                        <!--</nz-select>-->
                    <!--</div>-->
                <!--</div>-->
                <div *ngIf="insertModel.type=='grouping'">
                    <div nz-form-item nz-row>
                        <div nz-form-label nz-col [nzSm]="6" [nzXs]="24">
                            <label for="email" nz-form-item-required> 分组后节点</label>
                        </div>
                        <div nz-form-control nz-col [nzSm]="18" [nzXs]="24" >
                            <nz-select
                                [nzMode]="'multiple'"
                                formControlName="s67"
                                [nzPlaceHolder]="'请选择节点'"
                                [(ngModel)]="insertModel.node_id"
                                [nzNotFoundContent]="'无法找到'">
                                <nz-option
                                    *ngFor="let option of nids"
                                    [nzLabel]="option.label"
                                    [nzValue]="option.value"
                                    [nzDisabled]="option.disabled">

                                </nz-option>
                            </nz-select>
                        </div>
                    </div>


                </div>
            </form>
            <!--<button nz-button (click)="insert()" [nzType]="'primary'" [nzSize]="'large'">-->
                <!--<i class="anticon anticon-plus"></i><span>新增</span>-->
            <!--</button>-->


        </div>
    </ng-template>
</nz-modal>

